package com.xhs.service;

import com.xhs.dto.request.SendHttpParam;
import com.xhs.message.ReturnResult;

/**
 * @desc:
 * @projectName: http-okhttps-api
 * @author: xhs
 * @date: 2024-06-10 15:09
 * @version: JDK 1.8
 */
public interface SendHttpService {

    /**
     * 发送Get请求
     *
     * @param param 入参
     * @return ReturnResult
     */
    ReturnResult<Object> sendGet(SendHttpParam param);

    /**
     * 发送post请求
     *
     * @param param 入参
     * @return ReturnResult
     */
    ReturnResult<Object> sendPost(SendHttpParam param);
}
